package com.jcsz.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jcsz.common.utils.PageUtils;
import com.jcsz.gulimall.product.entity.AttrAttrgroupRelationEntity;
import com.jcsz.gulimall.product.entity.AttrGroupEntity;
import com.jcsz.gulimall.product.vo.AttrGroupRelationVo;

import java.util.List;
import java.util.Map;

/**
 * 属性&属性分组关联
 *
 * @author 一把Po吉他
 * @email volibear@gulimall.com
 * @date 2022-10-16 08:40:06
 */
public interface AttrAttrgroupRelationService extends IService<AttrAttrgroupRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveBatch(List<AttrGroupRelationVo> attrGroupRelationVos);

    void deleteBatch(List<AttrGroupRelationVo> attrGroupRelationVos);

    Map<Long, List<Long>> getAttrGroupIds(List<Long> attrIds);
}

